package com.cookie.lib_base.base

import android.app.Application
import android.content.Intent
import com.cookie.lib_base.helper.ARouterHelper
import com.cookie.lib_base.helper.NotificationHelper
import com.cookie.lib_base.service.InitService

/**
 *   文件名:    BaseApp
 *   创建者:    cookie
 *   创建时间:   2020/10/12 15:00
 *   描述:      基类App
 */
open class BaseApp : Application() {

    override fun onCreate() {
        super.onCreate()
        ARouterHelper.initHelper(this)
        NotificationHelper.initHelper(this)
        startService(Intent(this, InitService::class.java))
    }
}